﻿using Iot.Services;

namespace Iot
{
    public class PlanWorker(IPlansService Service) : BackgroundService
    {
        private IPlansService _Service = Service;

        protected override async Task ExecuteAsync(CancellationToken stoppingToken)
        {
            await _Service.ExecuteAsync(stoppingToken);
        }
    }
}
